package com.skywolf.chem.usercenter.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName UserVO.java
 * @Author Leo
 * @Version 1.0.0
 * @Description 用户vo
 * @CreateTime 2019年11月24日 13:33:00
 */
@Data
public class UserVO {

    @ApiModelProperty(value = "用户id")
    private Long id;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "用户姓名")
    private String name;

    @ApiModelProperty(value = "用户手机号")
    private String phone;

    @ApiModelProperty(value = "状态，0：正常，1：禁用")
    private Integer status;

    @ApiModelProperty("创建时间")
    @JsonFormat
    private Date createdTime;

    @ApiModelProperty("更新时间")
    @JsonFormat
    private Date updatedTime;
}
